package bank;

import javax.ejb.Local;
import javax.ejb.Remote;
import javax.jws.WebService;

import bank.msgs.BankTransfer;

@WebService
@Remote
public interface RemoteBankService {
	
	@Local interface LocalBankService extends RemoteBankService{};	
	
	public void validateTransferRequest(BankTransfer bankTransfer) throws Exception;

	public Long requestTransfer(BankTransfer bankTransfer) throws Exception;
	
	public void validateTransfer(BankTransfer bankTransfer) throws Exception;
	
	///public void createAccount() throws Exception; 

	//public AccountInfo retrieveAccountInfo(int sourceSystemId, long clientId) throws Exception;
}
